﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>QQ图像一闪一闪的效果</title>
</head>
<body>
<img id="imgId" style="visibility:visible " src="LOGO1.gif">
<script language="javascript">
    function showImg()
    {
        if(imgId.style.visibility == "visible")    //如果可见，则隐藏
            imgId.style.visibility = "hidden";
        else
            imgId.style.visibility = "visible";    //设置图像可见
        setTimeout('showImg()',300);               //间隔的毫秒
    }
    showImg();
</script>
</body>
</html>